]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
System: update lock screen at construction
authorGiovanni Campagna <gcampagna@gnome.org>
Fri, 20 Mar 2015 19:57:30 +0000 (12:57 -0700)
committerGiovanni Campagna <gcampagna@gnome.org>
Fri, 27 Mar 2015 20:12:25 +0000 (13:12 -0700)
Will make sure that change notifications are enabled by reading
the value at least once

https://bugzilla.gnome.org/show_bug.cgi?id=746509

js/ui/status/system.js

index f5873b8eb2219ece7a97018981a55cd887a3d46d..7e3ceec4c66f9f11cb9250e80f9bf838a9377327 100644 (file)
@@ -125,6 +125,7 @@ const Indicator = new Lang.Class({
                                 Lang.bind(this, this._updateMultiUser));
         this._updateSwitchUser();
         this._updateMultiUser();
+        this._updateLockScreen();
 
         // Whether shutdown is available or not depends on both lockdown
         // settings (disable-log-out) and Polkit policy - the latter doesn't